package com.bjsxt.user.pojo;

import java.util.Date;

public class AAdmin
{
  
	private int id;
	private String email;
	private String password;
	private String trueName;
	private String phone;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date lastLoginTime;
	private String statuStr;
	
	public String getStatuStr()
	{
		if(this.status ==1)
		{
			return "启用";
		}else
		{
			return "禁用";
		}
	}
	public void setStatuStr(String statuStr)
	{
		this.statuStr = statuStr;
	}
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public String getEmail()
	{
		return email;
	}
	public void setEmail(String email)
	{
		this.email = email;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password = password;
	}
	public String getTrueName()
	{
		return trueName;
	}
	public void setTrueName(String trueName)
	{
		this.trueName = trueName;
	}
	public String getPhone()
	{
		return phone;
	}
	public void setPhone(String phone)
	{
		this.phone = phone;
	}
	public byte getStatus()
	{
		return status;
	}
	public void setStatus(byte status)
	{
		this.status = status;
	}
	public Date getCreateTime()
	{
		return createTime;
	}
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	public Date getUpdateTime()
	{
		return updateTime;
	}
	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}
	public Date getLastLoginTime()
	{
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime)
	{
		this.lastLoginTime = lastLoginTime;
	}
	@Override
	public String toString()
	{
		return "AAdmin [id=" + id + ", email=" + email + ", password=" + password + ", trueName=" + trueName
				+ ", phone=" + phone + ", status=" + status + ", createTime=" + createTime + ", updateTime="
				+ updateTime + ", lastLoginTime=" + lastLoginTime + "]";
	}
	public AAdmin(int id, String email, String password, String trueName, String phone, byte status, Date createTime,
			Date updateTime, Date lastLoginTime)
	{
		super();
		this.id = id;
		this.email = email;
		this.password = password;
		this.trueName = trueName;
		this.phone = phone;
		this.status = status;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.lastLoginTime = lastLoginTime;
	}
	public AAdmin()
	{
		super();
	}
	
}
